package com.heima.skydemo.mapper;

import com.heima.skydemo.entity.Setmeal;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 套餐 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-04-15
 */
@Mapper
public interface SetmealMapper extends BaseMapper<Setmeal> {
    @Update("update setmeal set status = #{status} where id = #{id}")
    void updateStatus(Integer status, Long id);

}
